package cn.edu.jju.psytest.model.vo;

import cn.edu.jju.psytest.model.constant.UserConstant;

public class QueriedTeacherInfoVo {
	
	private String teacherId;
	private String password;
	private int privilege;

	/**
	 * @return
	 */
	public String toJSONString() {
		return "{\"teacherId\":\""+ teacherId + "\","
				+ "\"password\":\"" + password + "\","
				+ "\"privilege\":\"" + UserConstant.secondaryColleges.get(privilege) + "\"}";
	}
	
	public String getTeacherId() {
		return teacherId;
	}

	public void setTeacherId(String teacherId) {
		this.teacherId = teacherId;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public int getPrivilege() {
		return privilege;
	}

	public void setPrivilege(int privilege) {
		this.privilege = privilege;
	}
}
